<template>
  <view class="move-star">
    <view class="cm-flex cm-flex-j-between cm-flex-a-center cm-padding-10">
      <view>当前：{{ moveStarList[curIndex] }}</view>
      <view class="cm-flex">
        <cm-button type="primary" radius="circle" :cm-style="{ width: '36px', height: '36px', padding: '0' }"
          class="cm-margin-right-10"
          @click="currentOffsetHandler(-1)">
          <cm-icon type="iconfont icon-arrow-lift"></cm-icon>
        </cm-button>
        <cm-button type="primary" radius="circle" :cm-style="{ width: '36px', height: '36px', padding: '0' }"
          @click="currentOffsetHandler(1)">
          <cm-icon type="iconfont icon-arrow-right"></cm-icon>
        </cm-button>
      </view>
    </view>
  </view>
</template>

<script src="./moveStar.js"></script>

<style lang="stylus">
@import './moveStar.styl'
</style>
